]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: treat LTE-only modems as GSM ones
authorAleksander Morgado <aleksander@lanedo.com>
Tue, 5 Feb 2013 09:05:50 +0000 (10:05 +0100)
committerAleksander Morgado <aleksander@lanedo.com>
Tue, 5 Feb 2013 14:49:39 +0000 (15:49 +0100)
LTE-only modems need to be treated as GSM/HSPA modems, as they all are 3GPP
modems and they all need the same kind of configuration (APN, user, password,
PIN...).

https://bugzilla.gnome.org/show_bug.cgi?id=688144

js/ui/status/network.js

index ff949e70d9407048c1267679e89dd7d327493373..e738a11f960c92e623b68b6c82ecddebe1524a60 100644 (file)
@@ -719,7 +719,8 @@ const NMDeviceModem = new Lang.Class({
             this._connectionType = NetworkManager.SETTING_CDMA_SETTING_NAME;
         } else if (this._capabilities & NetworkManager.DeviceModemCapabilities.LTE) {
             is_wwan = true;
-            // FIXME: support signal quality
+            this.mobileDevice = new ModemManager.ModemGsm(device.udi);
+            this._connectionType = NetworkManager.SETTING_GSM_SETTING_NAME;
         }
 
         if (is_wwan) {